using System.Web.UI;
using System.Web.UI.WebControls;

namespace CodeStory.WebControls
{
	internal class ValidateImageTemplate : ITemplate
	{
		public ValidateImageTemplate(ValidateImage validateImage) {
		}

		#region ITemplate Members
		void ITemplate.InstantiateIn(Control container) {
			Image img = new Image();
			container.Controls.Add(img);
			img.ID = "Image";
			TextBox txt = new TextBox();
			container.Controls.Add(txt);
			txt.ID = "UserInput";
		}
		#endregion

		public void InstantiateIn(Control container) {
		}
	}
}